package com.example.ojsystem.domain.exam.dto;

import com.example.ojcommencore.core.domain.PageQueryDTO;
import jakarta.validation.constraints.NotEmpty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
public class ExamQueryDTO extends PageQueryDTO {
    @NotEmpty(message = "标题不能为空")
    private String title;

    @NotEmpty(message = "开始时间不能为空")
    private String startTime;

    @NotEmpty(message = "结束时间不能为空")
    private String endTime;}
